package com.java.proxy;

public class UserDaoImpl implements IUserDao {

    @Override
    public Integer save(String name) {
        System.out.println("保存用户的数据 name = " + name);
        return 1;
    }

    @Override
    public String query(Integer id) {
        String result = "查询到id为:" + id + "的用户";
        System.out.println(result);
        return result;
    }
}
